#include <iostream>
#include <vector>

int main()
{
    std::vector<int> v1;
    std::vector<int> v2(10);
    std::vector<int> v3(10, 42);
    std::vector<int> v4{10};
    std::vector<int> v5{10, 42};
    std::vector<std::string> v6{10};
    std::vector<std::string> v7{10, "hi"};
    // v1
    std::cout << "v1 size is " << v1.size() << std::endl;
    for(decltype(v1.size()) i = 0; i != v1.size(); ++i)
    {
        std::cout << v1[i];
    }
    std::cout << std::endl;
    // v2
    std::cout << "v2 size is: " << v2.size() << std::endl;
    for(decltype(v2.size()) i = 0; i != v2.size(); ++i)
    {
        std::cout << v2[i];
    }
    std::cout << std::endl;
    // v3
    std::cout << "v3 size is " << v3.size() << std::endl;
    for(decltype(v3.size()) i = 0; i != v3.size(); ++i)
    {
        std::cout << v3[i];
    }
    std::cout << std::endl;
    // v4
    std::cout << "v4 size is " << v4.size() << std::endl;
    for(decltype(v4.size()) i = 0; i != v4.size(); ++i)
    {
        std::cout << v4[i];
    }
    std::cout << std::endl;
    // v5
    std::cout << "v5 size is " << v5.size() << std::endl;
    for(decltype(v5.size()) i = 0; i != v5.size(); ++i)
    {
        std::cout << v5[i];
    }
    std::cout << std::endl;
    // v6
    std::cout << "v6 size is " << v6.size() << std::endl;
    for(decltype(v6.size()) i = 0; i != v6.size(); ++i)
    {
        std::cout << v6[i];
    }
    std::cout << std::endl;
    // v7
    std::cout << "v7 size is " << v7.size() << std::endl;
    for(decltype(v7.size()) i = 0; i != v7.size(); ++i)
    {
        std::cout << v7[i];
    }
    std::cout << std::endl;

    return 0;
}